<?php /* Smarty version 2.6.14, created on 2014-11-10 13:42:13
         compiled from menu.index.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="<?php echo $this->_tpl_vars['formAction']; ?>
" method="POST" <?php if ($this->_tpl_vars['is_validator']): ?> id="adminform" onsubmit="return Validator.Validate(this)" <?php endif; ?>>
<table width="100%" border="0" class="adminlist" cellspacing="0">

  <thead>
  <tr>
 	 <th><input id="toggle" type="checkbox" value=""/></th>
    <th><?php echo $this->_tpl_vars['systemLang']['sort']; ?>
</th>
    <th><?php echo $this->_tpl_vars['systemLang']['name']; ?>
</th>
    <th><?php echo $this->_tpl_vars['systemLang']['role']; ?>
</th>
    <th><?php echo $this->_tpl_vars['systemLang']['url']; ?>
</th>
    <th><?php echo $this->_tpl_vars['systemLang']['operate']; ?>
</th>
  </tr>
  </thead>
  <tbody>
  <?php $_from = $this->_tpl_vars['menu']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['a'] => $this->_tpl_vars['menu']):
?>
  <tr class="row0">
   <td><input name="select_id[]" type="checkbox" class="checkbox" id="cb<?php echo $this->_tpl_vars['a']++; ?>
" value="<?php echo $this->_tpl_vars['menu']['menu_id']; ?>
" /><input name="menuid[]" type="hidden" class="checkbox" value="<?php echo $this->_tpl_vars['menu']['menu_id']; ?>
" /></td>
   <td><input name="orders[]" value="<?php echo $this->_tpl_vars['menu']['menu_order']; ?>
" class="text" style="width:40px; text-align:center;" dataType='Number' msg='<?php echo $this->_tpl_vars['systemLang']['sortDesc']; ?>
'/></td>
    <td><?php echo $this->_tpl_vars['menu']['menu_name']; ?>
&nbsp;</td>
    <td><?php echo $this->_tpl_vars['menu']['menu_roles']; ?>
&nbsp;</td>
    <td><?php echo $this->_tpl_vars['menu']['menu_url']; ?>
&nbsp;</td>
   	<td>
        <a href="<?php echo @BASEURI; ?>
menu/edit/<?php echo $this->_tpl_vars['menu']['menu_id']; ?>
"><?php echo $this->_tpl_vars['systemLang']['edit']; ?>
</a>&nbsp;
        <a href="<?php echo @BASEURI; ?>
menu/delete/<?php echo $this->_tpl_vars['menu']['menu_id']; ?>
" <?php echo @IS_DELETE; ?>
><?php echo $this->_tpl_vars['systemLang']['del']; ?>
</a>
    </td>
  </tr>
  <?php endforeach; endif; unset($_from); ?>
  </tbody>
  <tfoot>
  <tr>
    <td colspan="5">
    <input type="button"  value="<?php echo $this->_tpl_vars['systemLang']['del']; ?>
" onclick="select_control('<?php echo @BASEURI; ?>
menu/delete','<?php echo $this->_tpl_vars['systemLang']['delConfirm']; ?>
')" class="button"/>
    <input type="button"  value="<?php echo $this->_tpl_vars['systemLang']['sort']; ?>
" onclick="submitform('<?php echo @BASEURI; ?>
menu/order',true)" class="button"/>
    <input type="button" value="<?php echo $this->_tpl_vars['systemLang']['add']; ?>
" name="sb" class="button" onclick="button_location('<?php echo @BASEURI; ?>
menu/add')" accesskey="N">
    </td>
  </tr>

  </tfoot>
</table>
</form>